package com.bean;

import org.hibernate.annotations.Entity;

@Entity
public class Student {
	private int id;
	private String sid;
	private String sname;
	private String subject;
	private int sauthority;
	private String ssex;
	private String semail;
	
	
	public String getSsex() {
		return ssex;
	}
	public void setSsex(String ssex) {
		this.ssex = ssex;
	}
	public String getSemail() {
		return semail;
	}
	public void setSemail(String semail) {
		this.semail = semail;
	}
	public int getSauthority() {
		return sauthority;
	}
	public void setSauthority(int sauthority) {
		this.sauthority = sauthority;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", sid=" + sid + ", sname=" + sname
				+ ", subject=" + subject + ", sauthority=" + sauthority
				+ ", ssex=" + ssex + ", semail=" + semail + "]";
	}


}
